package com.ibeifeng.sparkwar2.service.impl;


import com.ibeifeng.sparkwar2.dao.*;
import com.ibeifeng.sparkwar2.mapper.SelectAll;
import com.ibeifeng.sparkwar2.service.FindAllService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther:搬砖小能手
 * @Date:2021/5/10
 * @Description:com.ibeifeng.sparkwar2.service.impl
 * @version:1.0
 */
@Service
public class FindAllServiceImpl implements FindAllService {
    @Autowired
    SelectAll selectAll;//这里会报错，不用理他

    @Override
    public List<SessionAggrStat> findSessionAggrStat() {

        return selectAll.select_SessionAggrStat();
    }

    @Override
    public List<SessionDetail> findSessionDetail() {
        return selectAll.select_Detail();
    }

    @Override
    public List<SessionRandomExtract> findSessionRandomExtract() {
        return selectAll.select_SessionRandomExtract();
    }

    @Override
    public List<Top10Category> findTop10Category() {
        return selectAll.select_Top10Category();
    }

    @Override
    public List<Top10Session> findTop10Session() {
        return selectAll.select_Top10Session();
    }

    @Override
    public List<AreaTop3Product> findAreaTop3Product() {
        return selectAll.select_AreaTop3Product();
    }

    @Override
    public PageSplitConvertRate findPageSplitConvertRate() {
        return selectAll.select_PageSplitConvertRate();
    }
}
